package com.zhuangxiaoyan.springboot.jpa.infrastructure.constant;

/**
 * ThreadPoolConstants
 *
 * @author xjl
 * @version 2025/01/14 08:45
 **/
public class ThreadPoolConstants {

    public static final int CORE_POOL_SIZE = 10;         // 核心线程数
    public static final int MAX_POOL_SIZE = 20;          // 最大线程数
    public static final int QUEUE_CAPACITY = 200;        // 队列容量
    public static final int KEEP_ALIVE_SECONDS = 60;     // 线程存活时间（秒）
    public static final String THREAD_NAME_PREFIX = "AsyncTask-"; // 线程名前缀

}